import request from "@/utils/request";

//获取区域
export const getAreaList = function (params) {
  return request.get('/area/info',{params})
}

//获取二级城市列表
export const setSecondCity = function () {
  return request.get('/area/city',{params:{level:2}})
}

//获取房屋信息
export const getHouseList = function (params) {
  return request.get('/houses',{params})
}

//获取具体城市信息
export const getCityNews = function (params) {
  return request.get('/area',{params})
}

//获取具体城市
export const getCityAll = function (params) {
  return request.get('/houses/condition',{params})
}